package com.itheima.youdianda.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 广告图
 */
@Data
public class YddAdvimg implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    //广告图位置,关联广告位id
    private String advimgpos;

    //广告图地址
    private String advimgsrc;

    //广告图描述
    private String advimgdesc;

    //广告图链接
    private String advimglink;

    //是否为默认数据, null表示不是, 1表示是
    private String defaultData;

    //广告图位名称
    @TableField(exist = false)
    private String advposname;

}
